home *** CD-ROM | disk | FTP | other *** search
/ Plug-In Power Pack for Netscape Communicator / Plug-In Power Pack for Netscape Communicator.iso / plugins / dataviews / include / dvdfgpset.h < prev    next >
C/C++ Source or Header  |  1997-05-08  |  2KB  |  88 lines

  1. #ifndef DVDFGPSET_H
  2. #define DVDFGPSET_H
  3.  
  4. /*
  5. |========================================================================
  6. |
  7. |                          c  copyright 1982
  8. |                    Intelligent Software Systems, Inc.
  9. |
  10. |    dvdfgpset.h
  11. |
  12. |    alan c morse      9 sep 82
  13. |
  14. |     alan c morse     25 Oct 82     Delete slot count max
  15. |
  16. |========================================================================
  17. |
  18. |    include-file description/function:
  19. |
  20. |      Defines the data structure that contains the parameters to
  21. |      guard routine, which uses the parameters to determine if
  22. |      the display formatter can display the data group.  This
  23. |      file is included in each display formatter, with the
  24. |      appropriate values defined for the parameters (upper case
  25. |      names below).  The display formatter must define DFNAME
  26. |      (name of the display formatter) and DFNAME_STRING (character
  27. |      string containing the name of the display formatter).  The
  28. |      other parameters may not be defined, in which case the assume
  29. |      default values.
  30. |          This file must be maintained in parallel with dvdfgpdec.h
  31. |      which is included in the guard routine, which references this
  32. |      structure.
  33. |
  34. |========================================================================
  35. */
  36.  
  37. # include "dvdfgpdec.h"
  38. #include "dvparams.h"            /* V_S_LARGEST */
  39.  
  40. LOCAL DG_CONSTRAINTS dg_constraints =
  41.   {
  42. # ifdef DFNAME_STRING
  43.   DFNAME_STRING,
  44. # else
  45.   (char *) 0,
  46. # endif
  47.  
  48.     {
  49.       {
  50. # ifdef D1_MAXSIZE
  51.       D1_MAXSIZE,
  52. # else
  53.       V_S_LARGEST,
  54. # endif
  55.  
  56. # ifdef D2_MAXSIZE
  57.       D2_MAXSIZE,
  58. # else
  59.       V_S_LARGEST,
  60. # endif
  61.       },
  62.  
  63. # ifdef MAX_VARNUM
  64.     MAX_VARNUM,
  65. # else
  66.     V_S_LARGEST,
  67. # endif
  68.     },
  69.  
  70.  
  71.     {
  72. # ifdef VARS_EQ_SIZE
  73.     VARS_EQ_SIZE,
  74. # else
  75.     NO,
  76. # endif
  77.  
  78. # ifdef ONE_SLOT_ONLY
  79.     ONE_SLOT_ONLY 
  80. # else
  81.     NO
  82. # endif
  83.     }
  84.  
  85.   };
  86.  
  87. #endif
  88.